package com.zh.work.entity.branch;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("二维码费率实体信息")
@TableName("qrcode_branch_fee")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class QrcodeBranchFee extends Model<QrcodeBranchFee> {
    private static final long serialVersionUID = 6941319988217699305L;
    @ApiModelProperty(value = "主键", name = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "机构号", name = "branchNo")
    @TableField(value = "branchno")
    private String branchNo;
    @ApiModelProperty(value = "扫码类型（1-主扫 2-被扫 4-公众号 8-WAP）", name = "scanType")
    private Integer scanType;
    @ApiModelProperty(value = "支付方式（1-支付宝 2-微信 3-百度 4-QQ 5-京东）", name = "payType")
    private Integer payType;
    @ApiModelProperty(value = "结算类型(1-T+0 2-T+1)", name = "settleType")
    private Integer settleType;
    @ApiModelProperty(value = "成本费率", name = "rate")
    private Double rate;
    @ApiModelProperty(value = "逻辑删除字段", name = "deleted")
    private Integer deleted;

}
